import { Defaults } from './httpConfig'
export const defaultsVal: Defaults = {
    headers: {
        common: {
            Accept: "application/json, text/plain, */*"
        },
        delete: {},
        get: {
            "Content-Type": "application/json"
        },
        patch: {
            "Content-Type": "application/x-www-form-urlencoded"
        },
        post: {
            "Content-Type": "application/x-www-form-urlencoded"
        },
        put: {
            "Content-Type": "application/x-www-form-urlencoded"
        },
    },
    transformRequest: function (data: any): any {
        return data
    },
    transformResponse: function (data: any): any {
        return data
    },
    baseURL: '',
    timeout: 5000,
    withCredentials: false
    
}